#include<iostream>
#include<stdint.h>
#include<SnowstormX.h>
#include"CMain.h"

using namespace std;



int main()
{
	// get the engine params
	SNOWSTORMX_PARAMS p;
	p.cursor_lock_to_window = false;
	p.cursor_visible = false;
	p.minimize_on_focus_lost = false;
	p.fps_max = 1000000;
	p.screen_type = SCREEN_TYPE::WINDOWED;
	p.size_x = 1024;
	p.size_y = 768;
	p.vsync = true;
	p.max_maps = 10;
	p.thread_usage = 2;
	p.window_title = L"SnowstormX V0.1.0 Test Application";

	// run the engine

	CMain *m = new CMain();
	int to_return = (int)EngineRun(&p, m, NULL);
	delete m;

	return to_return;
}